﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Klassen
{
    public partial class frmWahre : Form
    {
        public frmWahre()
        {
            InitializeComponent();
        }

        private void rb20_CheckedChanged(object sender, EventArgs e)
        {
            txtMenge.Enabled = true;
            //txtPreis.Enabled = true;

            lblMenge.Enabled = true;
            //lblPreis.Enabled = true;

            num20erCount.Enabled = false;
            num24erCount.Enabled = false;
        }

        private void rb24_CheckedChanged(object sender, EventArgs e)
        {
            txtMenge.Enabled = true;
            //txtPreis.Enabled = true;

            lblMenge.Enabled = true;
            //lblPreis.Enabled = true;

            num20erCount.Enabled = false;
            num24erCount.Enabled = false;
        }

        private void rbKasten_CheckedChanged(object sender, EventArgs e)
        {
            txtMenge.Enabled = false;
            //txtPreis.Enabled = false;


            lblMenge.Enabled = false;
            //lblPreis.Enabled = false;

            num20erCount.Enabled = true;
            num24erCount.Enabled = true;
        }
    }
}
